var newsview = Domain(
  data("News image", 
    state -> specified,
    text -> "Elicitation = Task demonstration, Specification = Screenshot",
    gist -> "An image containing the news",
    spec -> "The news image is suppoes to include both images and text designed and provided by the company.",
    owner -> "design",
	prio -> 3
  ), 
  data("News image") enables (quality("News image size")), 
  data("News url ", 
    state -> specified,
    text -> "Elicitation = Task demonstration, Specification = Context Diagram",
    gist -> "A url to the company news page",
    spec -> "The news view image shall contain a URL to the company news page.",
    owner -> "design",
	prio -> 3
  ), 
  feature("News page control", 
    state -> specified,
    text -> "Elicitation = Task demonstration, Specification = Screenshot",
    gist -> "Indicates and controls multiple news images",
    spec -> "There should be functionality for having multiple news with a page control wich indicates which of the news is being shown, and how many other news there is.",
    owner -> "design",
	prio -> 2
  ), 
  feature("News page", 
    state -> specified,
    text -> "Elicitation = Task demonstration, Specefication = Task Description",
    gist -> "The main news wrapper",
    spec -> "This object wraps an image view with its corresponding news url, this object aslo handles news page taps, and launches the appropriate url.",
    owner -> "product",
	prio -> 4
  ), 
  feature("News", 
    state -> specified,
    text -> "Elicitation = Brainstorming, Specification = Feature requierments",
    gist -> "A screen that gives the user news about the franchise",
    spec -> "There should be functionality for displaying a news screen with updates about the application specific franchise.",
    owner -> "product",
	prio -> 4
  ), 
  function("Tapable news", 
    state -> specified,
    text -> "Elicitation = Task demonstration, Specification = Task Description",
    gist -> "The news image should be tapable",
    spec -> "When the user taps a news image, the news url is executed and the default webbrowser is loaded with the news url.",
    owner -> "design",
	prio -> 5
  ),
  quality("Maximum news views", 
    why -> "The news control should not get to big and confusing",
    state -> specified,
    text -> "Elicitation = Brainstorming",
    gist -> "Show max 5 news views ",
    spec -> "The application should at most show 5 news views.",
    owner -> "design",
	prio -> 3
  ), 
  quality("News image size", 
    why -> "The news image should fit the image container",
    state -> specified,
    text -> "Elicitation = Documentation studies, Specification = Screenshot",
    gist -> "Define the size of news image",
    spec -> "The news image should be exactly 300x360 pixel points.",
    owner -> "design",
	prio -> 3
  )
)
